package com.zf.shuashua.bean.advert;

import java.io.Serializable;

public class AdvertConfigBean implements Serializable {
    //广告源：1、自身广告 2 穿山甲 3 优量汇 5 芒果 6、艾狄墨搏AdMobile 7、旺翔
    private int source;
    //代码位类型：1 开屏，2 激励视频，3 draw信息流，4 贴片-图片，5 全屏广告，6 贴片-视频
    private int type;
    //代码位id
    private String origin_id;

    public boolean isTencent(){
        return source == 3;
    }

    public boolean isWangXiang(){
        return source == 7;
    }

    public boolean isSelf(){
        return source == 1;
    }

    public boolean isMg(){
        return source == 5;
    }

    public boolean isAdMobile(){
        return source == 6;
    }

    public boolean isFull(){
        return type == 5;
    }

    public int getSource() {
        return source;
    }

    public void setSource(int source) {
        this.source = source;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOrigin_id() {
        return origin_id;
    }

    public void setOrigin_id(String origin_id) {
        this.origin_id = origin_id;
    }
}
